<!DOCTYPE html>
<html>

<head>
	<meta charset="UTF-8" />
	<title>广州市澳凯家具有限公司</title>
	<meta name="keywords" content="家具，设计，广州市澳凯">
	<meta name="description" content="致力於引領辦公家具潮流的廣州市澳凱家具有限公司是一家集專業研發設計，生產製造，銷售與服務於一體的現代企業，工廠座落於享有中國家具之都之稱的廣州市。">
	<meta name='author' content='网站建设：智杰科技'>
	<meta name='viewport' content='width=1440' />
	<meta http-equiv="Cache-Control" content="no-transform" />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link href="./css/build/public.css" rel="stylesheet" type="text/css" />
	<link rel="stylesheet" href="./css/build/search.css">
	<style>
		#c_search_result-15368904343120656 {
			height: auto;
		}
		.p_PromptNoneData .prompt_title{
			width: 300px;
    }
    .c_search_result-02001 .p_AssistNameA{
      white-space: nowrap;
    }
	</style>
</head>

<body>
	<div class="main pagebox">
		<div class="nav-wrap" id="publicNav"></div>
		<div id="w_img-1536890305123" class="w_img-002">
			<div class="w_img animated  ">
				<div class="e_box e_box-000 p_box">
					<a class="e_link e_link-000 p_link001" target="_blank">
						<div class="e_image e_DImage-001 p_dimage">
							<img src="/img/nybanner.jpg" alt="广州臻楷办公家具有限公司" title="广州臻楷办公家具有限公司" width="100%" height="100%" />
						</div>
					</a>
				</div>
			</div>
		</div>
		<div id="w_common_text-1536890305163" class="reset_style">
			<div>
				<p style="text-align:center">
					<strong>
						<span style="color:#FFFFFF">
							<span style="font-size:46px">People Work Life</span>
						</span>
					</strong>
				</p>
				<p style="text-align:center">
					<span style="color:#FFFFFF">
						<span style="font-size:36px">
							<strong>人，办公，生活</strong>
						</span>
					</span>
				</p>
			</div>
		</div>
		<div id="c_search_result-15368904343120656" class="c_search_result-02001">
			<div class="e_stylebox e_ContentOrdinaryStyleBox-001 p_stylebox" id="">
				<div class="stylebox_top">
					<div class="stylebox_title">
						<i class="title_icon"></i>
						<h2 class="title_main">全站搜索</h2>

					</div>
				</div>
				<div class="stylebox_top_line"></div>
				<div class="stylebox_content">
					<div class="e_box p_contentBox">
						<!-- 没搜索结果 -->
						<div class="e_AbnormalPrompt e_PromptNoneData-001 p_PromptNoneData hide" id="hasNoData">
							<div class="promptbox">
								<div class="prompt_title">
									<i class="iconfont first"></i>
									<div class="font">
										<i class="iconfont"></i>
										<span class="i_noDataTips">没有匹配的数据</span>
									</div>
								</div>
							</div>
						</div>
						<div class="e_box e-box-000 p_Alllist" id="listBox">
							<div class="e_box e-box-000 p_listhead">
								<h3 class="e_title e_DecTitle-001 p_title">
									<div class="font">
										<i class="iconfont"></i>
										<span class="i_totalSiteTitle">标题</span>
									</div>
								</h3>
								<div class="e_title e_AssistName-001 p_AssistName ">
									<div class="font">
										<i class="iconfont"></i>
										<span class="i_totalSiteType">类型</span>
									</div>
								</div>
								<div class="e_title e_AssistName-001 p_AssistNameA ">
									<div class="font">
										<i class="iconfont"></i>
										<span class="i_totalSitePublishTime">发布时间</span>
									</div>
								</div>
              </div>
              <div class="list-main-wrap"></div>
						</div>
						<div class="e_box e_OccupyBox-001 p_OccupyBox">
							<div class="e_pagebox e_pagebox-000 p_page" id="pageBox">
							</div>
						</div>
					</div>
				</div>
				<div class="stylebox_bottom_line"></div>
				<div class="stylebox_bottom"></div>
			</div>
		</div>
		<div id="w_hline-1536890305153" class="w_hline-001">
			<div class="w_hline">
				<div class="e_line e_Hline-001 p_HLine"></div>
			</div>
		</div>
	</div>
	<div class="footer-wrap" id="publicFooter"></div>
	<script src="js/jquery.min.js"></script>
  <script src="./js/public.js"></script>
  <script>
    var isIntPage =false;
    var keyword = decodeURI(getQueryString('keyword'))
		function getList(page) {
			$.ajax({
				type: 'POST',
				url: ajaxUrlObj['GET_SEARCH_LIST'],
				data: {
					page: page,
					index: keyword
				},
				success: function (rep) {
					if (typeof rep === 'string') {
						rep = JSON.parse(rep)
					}
					if (rep.code == 1) {
						rep = typeof rep.data === 'string' ? JSON.parse(rep.data) : rep.data
						var list = rep.data
            var str = ''
            if(rep.total == 0 ) {
              $("#listBox").hide()
              $("#hasNoData").removeClass("hide")
              return
            }
						if(!isIntPage){
							isIntPage =true;
							intPage(rep.total, 6)
						}
						for (var i = 0, l = list.length; i < l; i++) {
							str+='<div class="e_box e-box-000 p_list"> <a class="e_link e_link-000 p_linkB" href="'+(list[i].flat ? 'product_details.html?id=':'new_detail.html?id=' )+list[i].id+'" target="_blank"> <h3 class="e_title e_DecTitle-001 p_titleA"> <div class="font"> <i class="iconfont"></i>'+list[i].title+'</div> </h3> </a> <div class="e_title e_AssistName-001 p_AssistNameB "> <div class="font"> <i class="iconfont"></i>'+list[i].type+'</div> </div> <div class="e_title e_AssistName-001 p_AssistNameC "> <div class="font"> <i class="iconfont"></i>'+list[i].date+'</div> </div> </div>'
						}
						$("#listBox .list-main-wrap").html(str)
					}
				},
				error: function (error) {
					console.log(error)
				}
			});
		}

		function intPage(total, pageSize) {
			var page = Math.ceil(total / pageSize)
			var str = '<div class="pre"><div class="font"><i class="iconfont"></i><span class="i_pre">上一页</span></div></div><div class="pageNum active">1</div>'
			for(var i =2;i<=page;i++){
				str+='<div class="pageNum">'+i+'</div>'
			}
			$("#pageBox").html(str+'<div class="next" data-all="'+page+'"> <div class="font"> <i class="iconfont"></i><span class="i_next" >下一页</span> </div> </div>')
			$("#pageBox .pre").on("click",function(){
				var page = parseInt($("#pageBox .active").html())
				if (page <= 1) return
				$("#pageBox .active").removeClass('active')
				$("#pageBox .pageNum").eq(page-2).addClass('active')
				getNewsList(page-1)
			})
			$("#pageBox .next").on("click",function(){
				var page = parseInt($("#pageBox .active").html())
				var all = $(this).attr("data-all")
				if (page >= all) return
				$("#pageBox .active").removeClass('active')
				$("#pageBox .pageNum").eq(page).addClass('active')
				getNewsList(page+1)
			})
			$("#pageBox .pageNum").on("click", function(){
				var $this=$(this)
				if($this.hasClass('active')) return
				$("#pageBox .active").removeClass('active')
				$this.addClass('active')
				getNewsList(parseInt($this.html()))
			})
		}
		$(window).ready(function(){
			getList(1)
		})
  </script>
</body>

</html>